poppler.git
2 months agoMerge poppler (25.03.0-5+deb13u4) import into refs/heads/workingbranch
John Scott [Thu, 2 Jul 2026 16:52:33 +0000 (16:52 +0000)]
Merge poppler (25.03.0-5+deb13u4) import into refs/heads/workingbranch

2 months agoDateInfo: Fix timeToStringWithFormat buffer length
Erich E. Hoover [Thu, 2 Jul 2026 16:52:33 +0000 (16:52 +0000)]
DateInfo: Fix timeToStringWithFormat buffer length

Origin: upstream, https://gitlab.freedesktop.org/poppler/poppler/-/merge_requests/1824.patch
Applied-Upstream: 25.06.0, https://gitlab.freedesktop.org/poppler/poppler/-/commit/55169105e121d5fbb7c50e2c744d750de5d0a7de
Bug: https://gitlab.freedesktop.org/poppler/poppler/-/work_items/1596
Bug-Debian: https://bugs.debian.org/1127146
Reviewed-By: John Scott <jscott@posteo.net>
Last-Update: 2026-07-01

strftime places a NULL-terminated string in the buffer, so the std::string
buffer needs to be resized to not include the terminator character
(or anything after it).

Without this fix, modification dates in altered PDF documents (such as when
adding a digital signature) are not truncated properly, instead padding
the date with a null byte and extra spaces until the end of the buffer is
reached. This bad syntax compromises the ability to verify the signature
with other applications, but the Poppler signatory has no indication of this.

Gbp-Pq: Name malformed-moddate.patch

2 months agoCheck for duplicate entries
Kevin Backhouse [Wed, 3 Sep 2025 13:36:54 +0000 (14:36 +0100)]
Check for duplicate entries

Origin: https://gitlab.freedesktop.org/poppler/poppler/-/commit/4ce27cc826bf90cc8dbbd8a8c87bd913cccd7ec0
Bug-Debian: https://bugs.debian.org/1117853
Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2025-52885

Gbp-Pq: Name Check-for-duplicate-entries.patch

2 months agoMake sure regex doesn't stack overflow by limiting it
Albert Astals Cid [Wed, 26 Mar 2025 10:26:32 +0000 (11:26 +0100)]
Make sure regex doesn't stack overflow by limiting it

Origin: https://gitlab.freedesktop.org/poppler/poppler/-/commit/f54b815672117c250420787c8c006de98e8c7408
Bug-Debian: https://bugs.debian.org/1117046
Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2025-43718

Happens with very long pdfsubver strings when compiled with
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto

Gbp-Pq: Name Make-sure-regex-doesn-t-stack-overflow-by-limiting-i.patch

2 months agoSplashOutputDev: Fix integer overflow in tilingPatternFill
Marek Kasik [Thu, 21 May 2026 15:51:51 +0000 (17:51 +0200)]
SplashOutputDev: Fix integer overflow in tilingPatternFill

Origin: https://gitlab.freedesktop.org/poppler/poppler/-/commit/8352264766652b98336e92359a70b3161a9ab97a
Bug-Debian: https://bugs.debian.org/1138708
Bug: https://gitlab.freedesktop.org/poppler/poppler/-/work_items/1715
Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2026-10118

Use checkedMultiply() to check integer multiplication of surface size
and number of repetitions to avoid integer overflow and possible memory issues.

Fixes: #1715
Gbp-Pq: Name SplashOutputDev-Fix-integer-overflow-in-tilingPatter.patch

2 months ago[PATCH] Fix crash in pdfseparate
Sune Vuorela [Tue, 29 Jul 2025 12:14:00 +0000 (14:14 +0200)]
[PATCH] Fix crash in pdfseparate

Don't continue recursing in PDFDoc::mark* if things looks a bit weirder
than expected

Gbp-Pq: Name CVE-2025-50420.patch

2 months agoCVE-2025-52886
Debian freedesktop.org maintainers [Thu, 2 Jul 2026 16:52:33 +0000 (16:52 +0000)]
CVE-2025-52886

Backport of:

Backport of:

From ac36affcc8486de38e8905a8d6547a3464ff46e5 Mon Sep 17 00:00:00 2001
From: Sune Vuorela <sune@vuorela.dk>
Date: Tue, 3 Jun 2025 00:35:19 +0200
Subject: [PATCH] Limit ammount of annots per document/page

Gbp-Pq: Name CVE-2025-52886.patch

2 months agoProperly verify adbe.pkcs7.sha1 signatures.
Juraj Šarinay [Thu, 6 Mar 2025 01:02:56 +0000 (02:02 +0100)]
Properly verify adbe.pkcs7.sha1 signatures.

For signatures with non-empty encapsulated content
(typically adbe.pkcs7.sha1), we only compared hash values and
never actually checked SignatureValue within SignerInfo.
The bug introduced by c7c0207b1cfe49a4353d6cda93dbebef4508138f
made trivial signature forgeries possible. Fix this by calling
NSS_CMSSignerInfo_Verify() after the hash values compare equal.

Origin: upstream 25.04.0

Gbp-Pq: Name CVE-2025-43903.patch

2 months ago[PATCH] Move isOk check to inside JBIG2Bitmap::combine
Albert Astals Cid [Mon, 31 Mar 2025 12:35:49 +0000 (14:35 +0200)]
[PATCH] Move isOk check to inside JBIG2Bitmap::combine

Origin: upstream 25.04

Gbp-Pq: Name CVE-2025-32365.patch

2 months ago[PATCH] PSStack::roll: Protect against doing int = -INT_MIN
Albert Astals Cid [Sun, 23 Mar 2025 23:44:54 +0000 (00:44 +0100)]
[PATCH] PSStack::roll: Protect against doing int = -INT_MIN

Origin: upstream 25.04

Gbp-Pq: Name CVE-2025-32364.patch

2 months agopoppler (25.03.0-5+deb13u4) trixie; urgency=medium
John Scott [Thu, 2 Jul 2026 16:52:33 +0000 (16:52 +0000)]
poppler (25.03.0-5+deb13u4) trixie; urgency=medium

  * Team upload
  * Fix creation of ill-formed PDF document signatures (Poppler issue #1596)
    - fixes "Invalid signature time when signing a PDF" (Closes: #1127146)
    Signatures made with previous versions of Poppler may not be recognized
    by other applications as valid.

[dgit import unpatched poppler 25.03.0-5+deb13u4]

2 months agoImport poppler_25.03.0-5+deb13u4.debian.tar.xz
John Scott [Thu, 2 Jul 2026 16:52:33 +0000 (16:52 +0000)]
Import poppler_25.03.0-5+deb13u4.debian.tar.xz

[dgit import tarball poppler 25.03.0-5+deb13u4 poppler_25.03.0-5+deb13u4.debian.tar.xz]

3 months agoMerge poppler (25.03.0-5+deb13u3) import into refs/heads/workingbranch
Salvatore Bonaccorso [Sat, 6 Jun 2026 09:07:43 +0000 (11:07 +0200)]
Merge poppler (25.03.0-5+deb13u3) import into refs/heads/workingbranch

3 months agoCheck for duplicate entries
Kevin Backhouse [Wed, 3 Sep 2025 13:36:54 +0000 (14:36 +0100)]
Check for duplicate entries

Origin: https://gitlab.freedesktop.org/poppler/poppler/-/commit/4ce27cc826bf90cc8dbbd8a8c87bd913cccd7ec0
Bug-Debian: https://bugs.debian.org/1117853
Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2025-52885

Gbp-Pq: Name Check-for-duplicate-entries.patch

3 months agoMake sure regex doesn't stack overflow by limiting it
Albert Astals Cid [Wed, 26 Mar 2025 10:26:32 +0000 (11:26 +0100)]
Make sure regex doesn't stack overflow by limiting it

Origin: https://gitlab.freedesktop.org/poppler/poppler/-/commit/f54b815672117c250420787c8c006de98e8c7408
Bug-Debian: https://bugs.debian.org/1117046
Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2025-43718

Happens with very long pdfsubver strings when compiled with
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto

Gbp-Pq: Name Make-sure-regex-doesn-t-stack-overflow-by-limiting-i.patch

3 months agoSplashOutputDev: Fix integer overflow in tilingPatternFill
Marek Kasik [Thu, 21 May 2026 15:51:51 +0000 (17:51 +0200)]
SplashOutputDev: Fix integer overflow in tilingPatternFill

Origin: https://gitlab.freedesktop.org/poppler/poppler/-/commit/8352264766652b98336e92359a70b3161a9ab97a
Bug-Debian: https://bugs.debian.org/1138708
Bug: https://gitlab.freedesktop.org/poppler/poppler/-/work_items/1715
Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2026-10118

Use checkedMultiply() to check integer multiplication of surface size
and number of repetitions to avoid integer overflow and possible memory issues.

Fixes: #1715
Gbp-Pq: Name SplashOutputDev-Fix-integer-overflow-in-tilingPatter.patch

3 months ago[PATCH] Fix crash in pdfseparate
Sune Vuorela [Tue, 29 Jul 2025 12:14:00 +0000 (14:14 +0200)]
[PATCH] Fix crash in pdfseparate

Don't continue recursing in PDFDoc::mark* if things looks a bit weirder
than expected

Gbp-Pq: Name CVE-2025-50420.patch

3 months agoCVE-2025-52886
Debian freedesktop.org maintainers [Sat, 6 Jun 2026 09:07:43 +0000 (11:07 +0200)]
CVE-2025-52886

Backport of:

Backport of:

From ac36affcc8486de38e8905a8d6547a3464ff46e5 Mon Sep 17 00:00:00 2001
From: Sune Vuorela <sune@vuorela.dk>
Date: Tue, 3 Jun 2025 00:35:19 +0200
Subject: [PATCH] Limit ammount of annots per document/page

Gbp-Pq: Name CVE-2025-52886.patch

3 months agoProperly verify adbe.pkcs7.sha1 signatures.
Juraj Šarinay [Thu, 6 Mar 2025 01:02:56 +0000 (02:02 +0100)]
Properly verify adbe.pkcs7.sha1 signatures.

For signatures with non-empty encapsulated content
(typically adbe.pkcs7.sha1), we only compared hash values and
never actually checked SignatureValue within SignerInfo.
The bug introduced by c7c0207b1cfe49a4353d6cda93dbebef4508138f
made trivial signature forgeries possible. Fix this by calling
NSS_CMSSignerInfo_Verify() after the hash values compare equal.

Origin: upstream 25.04.0

Gbp-Pq: Name CVE-2025-43903.patch

3 months ago[PATCH] Move isOk check to inside JBIG2Bitmap::combine
Albert Astals Cid [Mon, 31 Mar 2025 12:35:49 +0000 (14:35 +0200)]
[PATCH] Move isOk check to inside JBIG2Bitmap::combine

Origin: upstream 25.04

Gbp-Pq: Name CVE-2025-32365.patch

3 months ago[PATCH] PSStack::roll: Protect against doing int = -INT_MIN
Albert Astals Cid [Sun, 23 Mar 2025 23:44:54 +0000 (00:44 +0100)]
[PATCH] PSStack::roll: Protect against doing int = -INT_MIN

Origin: upstream 25.04

Gbp-Pq: Name CVE-2025-32364.patch

3 months agopoppler (25.03.0-5+deb13u3) trixie-security; urgency=high
Salvatore Bonaccorso [Sat, 6 Jun 2026 09:07:43 +0000 (11:07 +0200)]
poppler (25.03.0-5+deb13u3) trixie-security; urgency=high

  * Non-maintainer upload by the Security Team.
  * SplashOutputDev: Fix integer overflow in tilingPatternFill (CVE-2026-10118)
    (Closes: #1138708)
  * Make sure regex doesn't stack overflow by limiting it (CVE-2025-43718)
    (Closes: #1117046)
  * Check for duplicate entries (CVE-2025-52885) (Closes: #1117853)

[dgit import unpatched poppler 25.03.0-5+deb13u3]

3 months agoImport poppler_25.03.0-5+deb13u3.debian.tar.xz
Salvatore Bonaccorso [Sat, 6 Jun 2026 09:07:43 +0000 (11:07 +0200)]
Import poppler_25.03.0-5+deb13u3.debian.tar.xz

[dgit import tarball poppler 25.03.0-5+deb13u3 poppler_25.03.0-5+deb13u3.debian.tar.xz]

12 months agoMerge poppler (25.03.0-5+deb13u2) import into refs/heads/workingbranch
Jeremy Bícha [Sun, 31 Aug 2025 18:01:36 +0000 (14:01 -0400)]
Merge poppler (25.03.0-5+deb13u2) import into refs/heads/workingbranch

12 months ago[PATCH] Fix crash in pdfseparate
Sune Vuorela [Tue, 29 Jul 2025 12:14:00 +0000 (14:14 +0200)]
[PATCH] Fix crash in pdfseparate

Don't continue recursing in PDFDoc::mark* if things looks a bit weirder
than expected

Gbp-Pq: Name CVE-2025-50420.patch

12 months agoCVE-2025-52886
Debian freedesktop.org maintainers [Sun, 31 Aug 2025 18:01:36 +0000 (14:01 -0400)]
CVE-2025-52886

Backport of:

Backport of:

From ac36affcc8486de38e8905a8d6547a3464ff46e5 Mon Sep 17 00:00:00 2001
From: Sune Vuorela <sune@vuorela.dk>
Date: Tue, 3 Jun 2025 00:35:19 +0200
Subject: [PATCH] Limit ammount of annots per document/page

Gbp-Pq: Name CVE-2025-52886.patch

12 months agoProperly verify adbe.pkcs7.sha1 signatures.
Juraj Šarinay [Thu, 6 Mar 2025 01:02:56 +0000 (02:02 +0100)]
Properly verify adbe.pkcs7.sha1 signatures.

For signatures with non-empty encapsulated content
(typically adbe.pkcs7.sha1), we only compared hash values and
never actually checked SignatureValue within SignerInfo.
The bug introduced by c7c0207b1cfe49a4353d6cda93dbebef4508138f
made trivial signature forgeries possible. Fix this by calling
NSS_CMSSignerInfo_Verify() after the hash values compare equal.

Origin: upstream 25.04.0

Gbp-Pq: Name CVE-2025-43903.patch

12 months ago[PATCH] Move isOk check to inside JBIG2Bitmap::combine
Albert Astals Cid [Mon, 31 Mar 2025 12:35:49 +0000 (14:35 +0200)]
[PATCH] Move isOk check to inside JBIG2Bitmap::combine

Origin: upstream 25.04

Gbp-Pq: Name CVE-2025-32365.patch

12 months ago[PATCH] PSStack::roll: Protect against doing int = -INT_MIN
Albert Astals Cid [Sun, 23 Mar 2025 23:44:54 +0000 (00:44 +0100)]
[PATCH] PSStack::roll: Protect against doing int = -INT_MIN

Origin: upstream 25.04

Gbp-Pq: Name CVE-2025-32364.patch

12 months agopoppler (25.03.0-5+deb13u2) trixie; urgency=high
Jeremy Bícha [Sun, 31 Aug 2025 18:01:36 +0000 (14:01 -0400)]
poppler (25.03.0-5+deb13u2) trixie; urgency=high

  [ Leonidas Da Silva Barbosa ]
  * SECURITY UPDATE: Denial of service
    - debian/patches/CVE-2025-50420.patch: don't continue
      recursing in PDFDoc in poppler/PDFDoc.cc.
    - CVE-2025-50420 (Closes: #1110463)

[dgit import unpatched poppler 25.03.0-5+deb13u2]

12 months agoImport poppler_25.03.0-5+deb13u2.debian.tar.xz
Jeremy Bícha [Sun, 31 Aug 2025 18:01:36 +0000 (14:01 -0400)]
Import poppler_25.03.0-5+deb13u2.debian.tar.xz

[dgit import tarball poppler 25.03.0-5+deb13u2 poppler_25.03.0-5+deb13u2.debian.tar.xz]

13 months agoMerge poppler (25.03.0-5) import into refs/heads/workingbranch
Jeremy Bícha [Mon, 28 Jul 2025 08:55:12 +0000 (10:55 +0200)]
Merge poppler (25.03.0-5) import into refs/heads/workingbranch

13 months agoCVE-2025-52886
Debian freedesktop.org maintainers [Mon, 28 Jul 2025 08:55:12 +0000 (10:55 +0200)]
CVE-2025-52886

Backport of:

Backport of:

From ac36affcc8486de38e8905a8d6547a3464ff46e5 Mon Sep 17 00:00:00 2001
From: Sune Vuorela <sune@vuorela.dk>
Date: Tue, 3 Jun 2025 00:35:19 +0200
Subject: [PATCH] Limit ammount of annots per document/page

Gbp-Pq: Name CVE-2025-52886.patch

13 months agoProperly verify adbe.pkcs7.sha1 signatures.
Juraj Šarinay [Thu, 6 Mar 2025 01:02:56 +0000 (02:02 +0100)]
Properly verify adbe.pkcs7.sha1 signatures.

For signatures with non-empty encapsulated content
(typically adbe.pkcs7.sha1), we only compared hash values and
never actually checked SignatureValue within SignerInfo.
The bug introduced by c7c0207b1cfe49a4353d6cda93dbebef4508138f
made trivial signature forgeries possible. Fix this by calling
NSS_CMSSignerInfo_Verify() after the hash values compare equal.

Origin: upstream 25.04.0

Gbp-Pq: Name CVE-2025-43903.patch

13 months ago[PATCH] Move isOk check to inside JBIG2Bitmap::combine
Albert Astals Cid [Mon, 31 Mar 2025 12:35:49 +0000 (14:35 +0200)]
[PATCH] Move isOk check to inside JBIG2Bitmap::combine

Origin: upstream 25.04

Gbp-Pq: Name CVE-2025-32365.patch

13 months ago[PATCH] PSStack::roll: Protect against doing int = -INT_MIN
Albert Astals Cid [Sun, 23 Mar 2025 23:44:54 +0000 (00:44 +0100)]
[PATCH] PSStack::roll: Protect against doing int = -INT_MIN

Origin: upstream 25.04

Gbp-Pq: Name CVE-2025-32364.patch

13 months agopoppler (25.03.0-5) unstable; urgency=high
Jeremy Bícha [Mon, 28 Jul 2025 08:55:12 +0000 (10:55 +0200)]
poppler (25.03.0-5) unstable; urgency=high

  [ Marc Deslauriers ]
  * SECURITY UPDATE: DoS via reference count overflow
    - debian/patches/CVE-2025-52886.patch: limit amount of annots per
      document/page in poppler/Annot.cc, poppler/Page.cc.
    - CVE-2025-52886 (Closes: #1108784)

[dgit import unpatched poppler 25.03.0-5]

13 months agoImport poppler_25.03.0-5.debian.tar.xz
Jeremy Bícha [Mon, 28 Jul 2025 08:55:12 +0000 (10:55 +0200)]
Import poppler_25.03.0-5.debian.tar.xz

[dgit import tarball poppler 25.03.0-5 poppler_25.03.0-5.debian.tar.xz]

16 months agoMerge poppler (25.03.0-4) import into refs/heads/workingbranch
Jeremy Bícha [Fri, 18 Apr 2025 22:16:32 +0000 (18:16 -0400)]
Merge poppler (25.03.0-4) import into refs/heads/workingbranch

16 months agoProperly verify adbe.pkcs7.sha1 signatures.
Juraj Šarinay [Thu, 6 Mar 2025 01:02:56 +0000 (02:02 +0100)]
Properly verify adbe.pkcs7.sha1 signatures.

For signatures with non-empty encapsulated content
(typically adbe.pkcs7.sha1), we only compared hash values and
never actually checked SignatureValue within SignerInfo.
The bug introduced by c7c0207b1cfe49a4353d6cda93dbebef4508138f
made trivial signature forgeries possible. Fix this by calling
NSS_CMSSignerInfo_Verify() after the hash values compare equal.

Origin: upstream 25.04.0

Gbp-Pq: Name CVE-2025-43903.patch

16 months ago[PATCH] Move isOk check to inside JBIG2Bitmap::combine
Albert Astals Cid [Mon, 31 Mar 2025 12:35:49 +0000 (14:35 +0200)]
[PATCH] Move isOk check to inside JBIG2Bitmap::combine

Origin: upstream 25.04

Gbp-Pq: Name CVE-2025-32365.patch

16 months ago[PATCH] PSStack::roll: Protect against doing int = -INT_MIN
Albert Astals Cid [Sun, 23 Mar 2025 23:44:54 +0000 (00:44 +0100)]
[PATCH] PSStack::roll: Protect against doing int = -INT_MIN

Origin: upstream 25.04

Gbp-Pq: Name CVE-2025-32364.patch

16 months agopoppler (25.03.0-4) unstable; urgency=high
Jeremy Bícha [Fri, 18 Apr 2025 22:16:32 +0000 (18:16 -0400)]
poppler (25.03.0-4) unstable; urgency=high

  * Team upload
  * SECURITY UPDATE: Properly verify abde.pkcs7.sha1 signatures
    - Cherry-pick upstream fix for the
      NSSSignatureVerification::validateSignature function
      in NSSCryptoSignBackend.cc
    - CVE-2025-43903 (Closes: #1103545)

[dgit import unpatched poppler 25.03.0-4]

16 months agoImport poppler_25.03.0-4.debian.tar.xz
Jeremy Bícha [Fri, 18 Apr 2025 22:16:32 +0000 (18:16 -0400)]
Import poppler_25.03.0-4.debian.tar.xz

[dgit import tarball poppler 25.03.0-4 poppler_25.03.0-4.debian.tar.xz]

18 months agoImport poppler_25.03.0.orig.tar.xz
Jeremy Bícha [Tue, 4 Mar 2025 21:22:49 +0000 (16:22 -0500)]
Import poppler_25.03.0.orig.tar.xz

[dgit import orig poppler_25.03.0.orig.tar.xz]

2 years agopoppler (24.08.0-2) unstable; urgency=medium
Jeremy Bícha [Sun, 18 Aug 2024 14:46:36 +0000 (10:46 -0400)]
poppler (24.08.0-2) unstable; urgency=medium

  * Team upload
  * Release to unstable

[dgit import unpatched poppler 24.08.0-2]

2 years agoImport poppler_24.08.0-2.debian.tar.xz
Jeremy Bícha [Sun, 18 Aug 2024 14:46:36 +0000 (10:46 -0400)]
Import poppler_24.08.0-2.debian.tar.xz

[dgit import tarball poppler 24.08.0-2 poppler_24.08.0-2.debian.tar.xz]

2 years agoImport poppler_24.08.0.orig.tar.xz
Jeremy Bícha [Thu, 1 Aug 2024 23:46:39 +0000 (19:46 -0400)]
Import poppler_24.08.0.orig.tar.xz

[dgit import orig poppler_24.08.0.orig.tar.xz]